package com.dragon.tree.bst;

/**
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/5/22 15:18
 */
public class BSTMapTest {

    public static void main(String[] args) {
        BSTMap<Integer, Integer> map = new BSTMap<>();
        map.put(1, 2);
        map.put(2, 5);
        map.put(12, 7);
        map.put(3, 1);
        map.put(0, 1);
        map.put(9, 1);
        map.midOrder();
        map.remove(1);
        System.out.println();
        map.midOrder();
        System.out.println("树形结构最大值:" + map.maximun());
    }
}
